package appapi.entity.report;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 队伍自带设备台账返回对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/06/21 14:06
 */
@ApiModel(value = "队伍自带设备台账返回对象")
@Data
public class BringEquipEntity {
    @ApiModelProperty(value = "序号")
    @Excel(name = "序号")
    private String sno;

    @ApiModelProperty(value = "设备名称")
    @Excel(name = "设备名称")
    private String equipName;

    @ApiModelProperty(value = "管理编号")
    @Excel(name = "管理编号")
    private String manaNumber;

    @ApiModelProperty(value = "规格型号")
    @Excel(name = "规格型号")
    private String equipModel;

    @ApiModelProperty(value = "功率(kw)")
    @Excel(name = "功率(kw)")
    private String equipPower;

    @ApiModelProperty(value = "生产厂家")
    @Excel(name = "生产厂家")
    private String equipProduct;

    @ApiModelProperty(value = "出厂日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出厂日期")
    private LocalDateTime equipProductDate;

    @ApiModelProperty(value = "与合同是否相符")
    @Excel(name = "与合同是否相符")
    private String contMatch;

    @ApiModelProperty(value = "操作人员姓名")
    @Excel(name = "操作人员姓名")
    private String operName;

    @ApiModelProperty(value = "操作证名称")
    @Excel(name = "操作证名称")
    private String operItemName;

    @ApiModelProperty(value = "操作证编号")
    @Excel(name = "操作证编号")
    private String certificateCode;

    @ApiModelProperty(value = "发证机关")
    @Excel(name = "发证机关")
    private String certificateIssueunit;

    @ApiModelProperty(value = "使用地点")
    @Excel(name = "使用地点")
    private String equipAddress;

    @ApiModelProperty(value = "协作队伍名称")
    @Excel(name = "协作队伍名称")
    private String collTeam;

    @ApiModelProperty(value = "自有或租赁")
    @Excel(name = "自有或租赁")
    private String equipCategory;

    @ApiModelProperty(value = "出租单位名称")
    @Excel(name = "出租单位名称")
    private String rentalUnit;

    @ApiModelProperty(value = "合同编号")
    @Excel(name = "合同编号")
    private String contNumber;

    @ApiModelProperty(value = "合同退场时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "合同退场时间")
    private LocalDateTime contQuitDate;

    @ApiModelProperty(value = "实际退场时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际退场时间")
    private LocalDateTime actQuitDate;

    @ApiModelProperty(value = "使用开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "使用开始时间")
    private LocalDateTime equipStartUse;

    @ApiModelProperty(value = "备注")
    @Excel(name = "备注")
    private String equipNote;


}
